import { PartialType } from '@nestjs/mapped-types';
import { CreateBannerDataDto, CreateBannerDto } from "./create-banner.dto";
import { IsNotEmpty } from "class-validator";
import { Type } from "class-transformer";

export class UpdateBannerDto extends PartialType(CreateBannerDto) {
  @IsNotEmpty()
  @Type(() => Number)
  id: number
}
export class UpdateBannerDataDto extends PartialType(CreateBannerDataDto){
  @IsNotEmpty()
  @Type(() => Number)
  id: number
}